﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Reports.CommonApprovalProcessReport.Dtos
{
    public class CommonApprovalProcessConfigInput : PagedAndSortedRequestDto
    {
        public string BTID { get; set; }
        public string Name { get; set; }
    }

    public class CommonApprovalProcessConfigDto
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        public Guid Id { get; set; }

        public string BTID { get; set; }

        /// <summary>
        /// 流程名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 字段名称
        /// </summary>
        public string Field { get; set; }

        /// <summary>
        /// 是否查询项
        /// </summary>
        public bool IsSearchItem { get; set; } = false;

        /// <summary>
        /// 是否精确查询
        /// </summary>
        public bool IsAccurate { get; set; } = false;

        /// <summary>
        /// 排序，标识CommonApprovalProcess第几个字段
        /// </summary>
        public int SortIndex { get; set; } = 0;

        /// <summary>
        /// 字段类型 text=文本型，date=日期类型，用于设置搜索框
        /// </summary>
        public string FieldType { get; set; }
    }
}
